import 'package:bookshelf/generated/json/base/json_field.dart';
import 'package:bookshelf/generated/json/inventory_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class InventoryEntity {

	String? uid;
	String? ant;
	// String? readerAddr;
	int? station;
	String? no;
	String? name;
	String? currentPlace;
	String? currentPlaceName;
	String? initPlace;
	String? initPlaceName;
	String? state;

  InventoryEntity();

  factory InventoryEntity.fromJson(Map<String, dynamic> json) => $InventoryEntityFromJson(json);

  Map<String, dynamic> toJson() => $InventoryEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}